package com.minis;

import com.minis.beans.factory.annotation.Autowired;

/**
 * 功能描述
 *
 * @author wanghongqian
 * @date 2023/06/03 09:24
 */
public class AServiceImpl implements AService{

    private String name;

    private int level;

    private String property1;

    private String property2;

    @Autowired
    private BaseService baseService;

    @Override
    public void sayHello() {
        System.out.println("hello world"+name);
    }

    public AServiceImpl() {
    }

    public AServiceImpl(String name, int level) {
        this.name = name;
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getProperty1() {
        return property1;
    }

    public void setProperty1(String property1) {
        this.property1 = property1;
    }

    public String getProperty2() {
        return property2;
    }

    public void setProperty2(String property2) {
        this.property2 = property2;
    }

    public BaseService getBaseService() {
        return baseService;
    }

    public void setBaseService(BaseService baseService) {
        this.baseService = baseService;
    }
}
